var $log={
	alert:function(obj){
		var alertsService = Components.classes["@mozilla.org/alerts-service;1"].getService(Components.interfaces.nsIAlertsService);
		alertsService.showAlertNotification(obj.image, obj.title, obj.text, obj.textClickable,obj.cookie, obj.alertListener);
	},
	console:function(str) {
		Components.classes['@mozilla.org/consoleservice;1'].getService(Components.interfaces.nsIConsoleService).logStringMessage(str);
	},
}